table of contents
GLUTSTROKECHARACTER(3) | Library Functions Manual (local) | GLUTSTROKECHARACTER(3) |
NAME¶
glutStrokeCharacter
—
Draw a stroked character.
LIBRARY¶
OpenGLUT - fonts
SYNOPSIS¶
#include
<openglut.h>
void
glutStrokeCharacter
(void
*fontID, int
character);
PARAMETERS¶
fontID
A GLUT stroked font identifier.
character
An ASCII character other than NUL.
DESCRIPTION¶
This function draws one
character
from one stroked font (selected by
fontID)
using OpenGL
GL_LINE_STRIP.
These characters are drawn at the origin in model space. The the model space origin is translated at the end, according to the
character
width in
fontID.
Does nothing if:
- The
fontID
is invalid.
- The
character
is out of the font's range.
SEE ALSO¶
glBegin(3) glTranslatef(3) glutStrokeWidth(3) glutStrokeString(3) glutStrokeHeight(3) glutBitmapCharacter(3)